json.array!(@traffic_violations) do |traffic_violation|
  json.extract! traffic_violation, :id, :voilated_at, :location, :action, :code, :deduction, :fine_amount, :handled
  json.url traffic_violation_url(traffic_violation, format: :json)
end
